import { LogoGitlabIcon } from "tdesign-icons-react";
import { Typography } from "tdesign-react";

const { Text } = Typography;
const MenuLogo = (props: any) => {
	const collapse: any = props.collapse;
	return (
		<>
			{collapse ? (
				<LogoGitlabIcon size={24} />
			) : (
				<div style={{ height: "100%", display: "flex", alignItems: "center" }}>
					<LogoGitlabIcon size={24} />
					<Text style={{ fontSize: "24px" }}>React开发指南</Text>
				</div>
			)}
		</>
	);
};

export default MenuLogo;
